package day05.work03;

public class Person implements ISingAble{
    private String name;
    private int age;

    public Person(){}
    public Person(String name,int age){
        this.name=name;
        this.age=age;
    }

    public void run(){

    }
//get、set
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }
//实现接口
    @Override
    public void sing() {
        System.out.println("我是人类我会唱歌");
    }
}
